<ul>
  <li>
    <% if (item.children) { %>
      <p>
        <%=item.name%>
      </p>
      <ul>
        
        <% item.children.forEach(function(item){ %>
          <%- include('sidebarItem', {item: item}); %>
            <% }); %>
      </ul>
      <% } else { %>
        <li class="<%=item.active%>"><a href="/docs/<%=item.path%>" title="<%=item.name%>"><%=item.name%></a></li>
        <% } %>
  </li>
</ul>